C o n t r o l   C h a r a c t e r s   
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
   
 
 C h a r a c t e r   S c r e e n   P r i n t e r   
 
 C H R $ ( & H 0 7 )   B e l l       
 
 C H R $ ( & H 0 8 )   B a c k s p a c e       
 
 C H R $ ( & H 0 9 )   T a b   T a b   
 
 C H R $ ( & H 0 C )   F o r m f e e d   ( c l e a r s   t h e   s c r e e n )   F o r m f e e d   
 
 C H R $ ( & H 0 D )   L i n e F e e d   L i n e F e e d   
 
 
 
 
 
 E s c a p e   S e q u e n c e s   
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
   
 
 S e q u e n c e   F u n c t i o n   
 
 E s c   A   S a v e   c u r s o r   p o s i t i o n   
 
 E s c   [ n ] B   M o v e   c u r s o r   b a c k w a r d   
 
 E s c   [ f ] [ ; [ b ] ] C   S e t   t e x t   c o l o r   
 
 E s c   [ n ] D   M o v e   c u r s o r   d o w n   
 
 E s c   E   C l e a r   t o   e n d   o f   l i n e   
 
 E s c   [ n ] F   M o v e   c u r s o r   f o r w a r d   
 
 E s c   G   C l e a r   t o   b e g i n n i n g   o f   l i n e   
 
 E s c   [ n ] H   D e l e t e   l i n e   
 
 E s c   1 I   I n v e r s e   o n   
 
 E s c   I   o r   E s c   0 I   I n v e r s e   o f f   
 
 E s c   [ n ] J   I n s e r t   l i n e   
 
 E s c   [ n ] K   D e l e t e   c h a r a c t e r   
 
 E s c   [ r ] [ ; [ c ] ] L   S e t   c u r s o r   l o c a t i o n   
 
 E s c   N   C l e a r   l i n e   
 
 E s c   O   L o a d   c u r s o r   p o s i t i o n   
 
 E s c   [ n ] P   I n s e r t   c h a r a c t e r   
 
 E s c   R   R e s e t   a t t r i b u t e s   
 
 E s c   S   C l e a r   s c r e e n   
 
 E s c   1 T   S a v e   t e x t   c o l o r s   
 
 E s c   T   o r   E s c   0 T   R e s t o r e   t e x t   c o l o r s   
 
 E s c   [ n ] U   M o v e   c u r s o r   u p   
 
 E s c   [ n ] X   C l e a r   s p a c e s   
 
 
 
 T h e   f o l l o w i n g   e x a m p l e   t u r n s   i n v e r s e   o n ,   p r i n t s   " H e l l o "   a n d   t h e n   t u r n s   i n v e r s e   o f f   ( N o t e :   e s c a p e   s e q u e n c e s   m u s t   b e   p r i n t e d   u s i n g   t h e   +   o p e r a t o r   w i t h o u t   a n y   i n t e r v e n i n g   p r i n t   s e p a r a t o r s   s u c h   a s   ;   ( s e m i c o l o n ) ) :   
 
 
 
 P R I N T   C H R $ ( 2 7 ) + " 1 I " ; " H E L L O " ; C H R $ ( 2 7 ) + " 
 
 